🗓️ Plan My Day
(
39
actions, 30 KB)
0 Go to Home Screen
1 If
[Shortcut Input]
has any value
2 Get Dates from
[Shortcut Input
as Text
]
3 Otherwise
4 List »
[🗓️ Today, 🗓️ Tomorrow, 🗓️ Another Date]
5 Choose from List
[4 List]
»
6
9
ChooseFromListActionPrompt
:
🤖 Which one?
6 If
[5 Chosen Item]
contains
Another Date
7 Ask for
Date
Input
AskActionPrompt
:
🤖 Which date?
8 Otherwise
9 Run Shortcut
Strip Leading Symbol
»
Input
:
[5 Chosen Item]
Workflow
:
{ "workflowIdentifier": "328EB3FC-0980-46EC-AA21-855E3F90824F", "workflowName": "Strip Leading Symbol", "isSelf": false }
10 Date
Specified Date
DateActionDate
:
[9 Shortcut Result]
11 End If
12 End If ▵
3
»
13
14
22
31
38
13 Run Shortcut
Quick Look Calendar Action Items
Input
:
[12 date]
Workflow
:
{ "workflowIdentifier": "C5ED3E50-E804-41BD-8920-65AF715565C1", "workflowName": "Quick Look Calendar Action Items", "isSelf": false }
14 Format Date
[12 date]
»
DateFormatStyle
:
Relative
TimeFormatStyle
:
None
15 Change
[14 Formatted Date]
to
lowercase
»
16 Text »
📆 Add to
[15 Updated Text]
's calendar? • 👇Select one or multiple👇 • ⏩ Press "Done" to skip
17 Run Shortcut
Format Text with Text Divider Pair
»
19
Input
:
[16 Text]
Workflow
:
{ "workflowIdentifier": "FF2507D8-22D2-41D2-B62A-7EACF9B4D9AC", "workflowName": "Format Text with Text Divider Pair", "isSelf": false }
18 DataJar > GetValueIntent »
keyPath
:
My Calendar
19 Choose from List
[18 Value
as Dictionary.scheduled
]
»
ChooseFromListActionPrompt
:
[17 Shortcut Result]
ChooseFromListActionSelectMultiple
:
true
20 Repeat with Each in
[19 Chosen Item]
21 If
[Repeat Item
’s Name
]
is
Hua-Ming's Training Calendar
22 Run Shortcut
Schedule My Training
Input
:
[12 date]
Workflow
:
{ "workflowIdentifier": "3EEB1114-2B49-46D1-9A2F-A8C6EE62E99D", "workflowName": "Schedule My Training", "isSelf": false }
23 Otherwise
24 Text-Case > TextCaseIntent »
26
30
text
:
@
[Repeat Item]
format
:
italic
ShowWhenRun
:
false
25 DataJar > GetValueIntent
➔ Text Divider
»
keyPath
:
Text Divider
26 Text »
[24 Formatted Text]
[25 Text Divider]
→ 🤖 Calendar Event(s) Title?
27 Ask for Text Input »
AskActionPrompt
:
[26 Text]
28 Split Text
[27 Provided Input]
by New Lines »
29 Repeat[2] with Each in
[28 Split Text]
30 Text »
▍
[Repeat Item 2]
[24 Formatted Text]
31 Dictionary »
{ "date": "
[12 date]
", "calEventTitle": "
[30 Text]
" }
32 Run Shortcut
Choose Time
»
Input
:
[31 Dictionary]
Workflow
:
{ "workflowIdentifier": "5758546B-C9BA-4BF9-96EF-34C84894007A", "workflowName": "Choose Time", "isSelf": false }
33 Add New Event
[Repeat Item 2]
from
[32 Shortcut Result
as Dictionary.startTime
]
to
[32 Shortcut Result
as Dictionary.endTime
]
CalendarDescriptor
:
[Repeat Item]
ShowWhenRun
:
false
34 End Repeat[2] with Each
35 End If ▵
23
36 End Repeat with Each ▵
20
37 Wait
1
seconds
38 Run Shortcut
Open Apple Calendar on Specific Date
Input
:
[12 date]
Workflow
:
{ "workflowIdentifier": "1E2755DC-5836-4B9E-964E-D0065687339F", "workflowName": "Open Apple Calendar on Specific Date", "isSelf": false }